WPForms\Requirements\Requirements C

Total Complexity 106
Dependencies 0
Dependents 2
Total lines 1,159
Lines of code 391
Logical lines of code 216
Comment lines 462
Methods 33
Properties 6

Methods 33

Method Rating Maintainability Complexity Lines of code
validate()
A
52 8 24
get_notices()
A
49 7 31
deactivate()
S
56 6 19
validate_addon()
S
56 6 18
normalize_version_requirement()
S
53 5 23
validate_wpforms()
S
58 5 17
normalize_array_requirement()
S
59 4 16
get_addon_load_function()
S
57 4 16
validate_wp()
S
59 4 15
deactivate_not_valid_addon()
S
60 4 15
validate_php()
S
60 4 14
get_ext_validation_message()
S
59 3 15
init_addon_requirements()
S
59 3 14
get_license_validation_message()
S
60 3 13
validate_license()
S
63 3 11
is_wpforms_addon()
S
64 3 8
validate_ext()
S
65 3 9
get_wpforms_validation_message()
S
69 3 6
version_compare()
S
63 3 10
get_addon_validation_message()
S
63 3 10
get_php_validation_message()
S
69 3 6
get_wp_validation_message()
S
69 3 6
list_array()
S
63 2 9
list_version()
S
66 2 8
get_instance()
S
68 2 8
show_notices()
S
74 2 5
init()
S
71 2 6
get_validation_message()
S
63 1 11
show_notice()
S
74 1 5
merge_requirements()
S
64 1 10
hooks()
S
72 1 5
get_compare_array()
S
72 1 5
get_requirements()
S
82 1 3